﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AttributeDoem
{
    /// <summary>
    /// 特性抽象类
    /// 主要功能就是规范子级，同一基类
    /// </summary>
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = true, Inherited = true)]
    public abstract class BaseVerifyAttribute : Attribute
    {
        /// <summary>
        /// 验证实体
        /// </summary>
        /// <param name="value"></param>
        /// <returns></returns>
        public abstract bool GetVerifyInfo(object value);

    }
}
